﻿/**
 *********************************************
 * Prototype of styles for horizontal CSS-menuleft
 * @data 25.01.2010
 *********************************************
 * (X)HTML-scheme:
 *  <div id="menuleft">
 *      <ul class="menuleft">
 *          <li><a href="#" class="parent"><span>level 1</span></a>
 *              <div><ul>
 *                  <li><a href="#" class="parent"><span>level 2</span></a>
 *                      <div><ul><li><a href="#"><span>level 3</span></a></li></ul></div>
 *                  </li>
 *              </ul></div>
 *          </li>
 *          <li class="last"><a href="#"><span>level 1</span></a></li>
 *      </ul>
 *  </div>
 *********************************************
 */

#menuleft, #menuleft * {
    list-style:none;
    border:0;
    padding:0;
    margin:0;    
}
#menuleft 
{
    margin-top:5px;
    
    width:173px;
    position:relative;
    z-index:999;
    background:url(../Images/menuleft/base.png) -173px 0;
    padding-top:0px;
}
#menuleft ul 
{
    padding-top:5px;
    background:url(../Images/menuleft/base.png) 0 bottom;
    padding-bottom:11px;
}
* html #menuleft, * html #menuleft ul { background-image:url(../Images/menuleft/base.gif); }
#menuleft div {
    width:180px;
    position:relative;
    background:url(../Images/menuleft/sub.png) -180px 0;
    padding-top:9px;
}
#menuleft div ul {
    background:url(../Images/menuleft/sub.png) 0 bottom;
    padding-bottom:5px;
}
* html #menuleft div, * html #menuleft div ul { background-image:url(../Images/menuleft/sub.gif); }
*+html #menuleft li { border-bottom:1px solid transparent; }
#menuleft li div {
    visibility:hidden;
    position:absolute;
    margin:-44px 0 0 -2px;
    left:100%;
}
* html #menuleft li div, *+html #menuleft li div { margin-top:-42px; }
#menuleft li:hover>div { visibility:visible; }
* html #menuleft li { height:34px; }
#menuleft li a {
    display:block;
    font-size:11px;
    font-family:'Trebuchet MS', Arial, Verdana;
    font-weight:bold;
    text-decoration:none;
    color:#fff;
    padding-top:11px;
    cursor:pointer;
    position:relative;
    z-index:9;
}
*+html #menuleft li a { padding-top:12px; }
* html #menuleft li a { padding-top:10px; }
#menuleft li.current a,
#menuleft li a:hover { background:url(../Images/menuleft/base-select.gif) no-repeat -163px 0; }
#menuleft li span {
    line-height:14px;
    padding:0 19px 11px 17px;
    display:block;
}
*+html #menuleft li span { padding-bottom:10px; }
* html #menuleft li span {
    height:24px;
    padding-bottom:2px;
}
#menuleft li.current a span,
#menuleft li a:hover span { background:url(../Images/menuleft/base-select.gif) no-repeat 5px bottom; }
#menuleft li a:hover span { color:#3A3A3A; }
#menuleft li a.parent:hover span { background:url(../Images/menuleft/base-select.gif) no-repeat -331px bottom; }
#menuleft.js-active li.current a,
#menuleft.js-active li.current a span,
#menuleft.js-active li a:hover,
#menuleft.js-active li a:hover span { background-image:url(../Images/menuleft/pix.gif); }
#menuleft li a.parent span, #menuleft.js-active li a.parent span { background:url(../Images/menuleft/base-select.gif) no-repeat -499px bottom; }
#menuleft li.current li a,
#menuleft li.current li a span { background-image:url(../Images/menuleft/pix.gif); }
#menuleft li li { border:0; }
#menuleft li li a span { color:#3A3A3A; }
#menuleft li li a.parent span, #menuleft.js-active li li a.parent span { background:url(../Images/menuleft/sub-select.gif) no-repeat -520px bottom; }
#menuleft li li a:hover, #menuleft.js-active li li a:hover { background:url(../Images/menuleft/sub-select.gif) no-repeat -170px 0; }
#menuleft li li a:hover span,
#menuleft.js-active li li a:hover span {
    background:url(../Images/menuleft/sub-select.gif) no-repeat 5px bottom;
    color:#fff;
}
#menuleft li li a.parent:hover span, #menuleft.js-active li li a.parent:hover span { background:url(../Images/menuleft/sub-select.gif) no-repeat -345px bottom; }
#menuleft li.back {
    width:170px;
    z-index:8;
    position:absolute;
    background:url(../Images/menuleft/lavalamp.gif) no-repeat 5px bottom;
}
#menuleft li.back .left {
    width:170px;
    float:none;
    position:relative;
    top:0;
    left:0;
    height:7px;
    overflow:hidden;
    padding:0;
    margin:0;
    visibility:visible;
    background:url(../Images/menuleft/lavalamp.gif) no-repeat -163px 0;
} 
